package com.whm.hrmanagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.whm.common.annotation.Excel;
import com.whm.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * hrmanagement对象 oa_zygxxgzjl
 * 
 * @author whm
 * @date 2024-02-03
 */
public class OaZygxxgzjl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 状态 */
    private Long status;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyname;

    /** 员工 */
    private Long yuangong;

    /** 员工(显示名) */
    @Excel(name = "员工(显示名)")
    private String yuangongTxt;

    /** 起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date qishishijian;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jieshushijian;

    /** 岗位 */
    @Excel(name = "岗位")
    private String gangWei;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setCompanyname(String companyname) 
    {
        this.companyname = companyname;
    }

    public String getCompanyname() 
    {
        return companyname;
    }
    public void setYuangong(Long yuangong) 
    {
        this.yuangong = yuangong;
    }

    public Long getYuangong() 
    {
        return yuangong;
    }
    public void setYuangongTxt(String yuangongTxt) 
    {
        this.yuangongTxt = yuangongTxt;
    }

    public String getYuangongTxt() 
    {
        return yuangongTxt;
    }
    public void setQishishijian(Date qishishijian) 
    {
        this.qishishijian = qishishijian;
    }

    public Date getQishishijian() 
    {
        return qishishijian;
    }
    public void setJieshushijian(Date jieshushijian) 
    {
        this.jieshushijian = jieshushijian;
    }

    public Date getJieshushijian() 
    {
        return jieshushijian;
    }
    public void setGangWei(String gangWei) 
    {
        this.gangWei = gangWei;
    }

    public String getGangWei() 
    {
        return gangWei;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("companyname", getCompanyname())
            .append("yuangong", getYuangong())
            .append("yuangongTxt", getYuangongTxt())
            .append("qishishijian", getQishishijian())
            .append("jieshushijian", getJieshushijian())
            .append("gangWei", getGangWei())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
